Counts the number of layers in the current map.
Syntax
layers = Map Layers
Description
layers is the number of layers there are in the currently active map.